/**
 * Created by mill on 2017/11/19.
 */
import React from 'react';
import {render} from 'react-dom';
import Greeter from './Greeter';
import './main.css';//使用require导入css文件
import './Greeter.less';
import box from "./nav_data.json";
import box1 from "./nav2_data.json";
import ist from './index.less' ;//主页的css样式

//padding-left-->paddingLeft

import Nav from "./Nav.js"

var dd={"xixi":"呵呵"};
console.log(box1)
render(
    <div id="mroot" className={ist.root}>


        <div><h1 style={{padding:"20px",paddingLeft:"50px"}}>Hello Hongmao</h1></div>

       <Nav aa="18" cc={box} dd={{"xixi":"呵呵"}}/>

    </div>

    , document.getElementById('root'));